x86/crash: fix kexec transition breakage
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Tue, 29 Oct 2019 13:35:45 +0000 (14:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Oct 2019 13:35:45 +0000 (14:35 +0100)
commit9eac9324c7f19d8fd0824a1ba25fd1ba7d60bab8
treebc29d348fdf8df9f9da2c2f360f370a8809084b1
parentd4fe232a0f5502c7e6c607a188f388a77e2d5552
x86/crash: fix kexec transition breakage

Following 6ff560f7f ("x86/SMP: don't try to stop already stopped CPUs")
an incorrect condition was placed into kexec transition path
leaving crashing CPU always online breaking kdump kernel entering.
Correct it by unifying the condition with smp_send_stop().

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
master commit: f56813f3470c5b4987963c3c41e4fe16b95c5a3f
master date: 2019-07-22 18:02:24 +0100
xen/arch/x86/crash.c